
#ifndef __RUNNER__HEADER__
#define __RUNNER__HEADER__

#include "sipua.h"
#include "common.h"


class Runner :
    public SipUserAgent, 
    public common::othread
{
public:
    Runner(ConfigParam& param);
    ~Runner();

    bool run();
    void stop();
    bool isRunning() const;

protected:
    void dowork();

    bool mRunning;
};

#endif // #ifndef __RUNNER__HEADER__